package com.csyf.manager.service;

import com.csyf.manager.entity.*;
import com.csyf.manager.utils.ReturnData;
import com.csyf.manager.utils.page.JqGridVo;

/**
 * @Author: Enzo
 * @Date: 2018/3/31 17:04
 */
public interface SysTradeSummaryService {


    void sumYesterdayData(int day);


    void sumprofitByDay(int day);


    JqGridVo querydataByAgent(SysTradeSummary vo, Integer pageIndex, Integer pageSize);


    JqGridVo queryCurDateTrade(SysTradeSummary vo, Integer pageIndex, Integer pageSize);



    JqGridVo queryMchProfitList(SysOrderProfit vo, Integer pageIndex, Integer pageSize);

    /**
     * 查询当日总交易、
     * 当日商户总收益
     * 当日手续费、
     * 全部订单总交易、
     * 全部商户总收益、
     * 全部手续费
     * @return
     */
    TradeFlowVo sumTradeFlowBydate();

    /**
     * 统计图表：获取近7天的交易量
     * @return
     */
    ReturnData buildChartBydate();

    JqGridVo queryAgentRate(VAgentRate vo, Integer pageIndex, Integer pageSize);

    JqGridVo queryYesprofit(YesProfitVo vo, Integer pageIndex, Integer pageSize);


    JqGridVo querycurprofit(CurProfitVo vo, Integer pageIndex, Integer pageSize);
}
